﻿#These special genes will not be part of a character's DNA.
#The game can have hardcoded references to them and might use each of them differently

#This rework allows beauty features to overlay onto existing character complexions.

special_genes = {
	morph_genes = {

		gene_beauty_details = {

			beauty_details = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_male_head_beauty_details_diffuse.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = overlay
							normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_female_head_beauty_details_diffuse.dds"
							# normal = "gfx/models/portraits/decals/visual_traits/decal_scars_battle_normal.dds"
							# properties = "gfx/models/portraits/decals/visual_traits/decal_scars_battle_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = multiply
							normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
					decal = { 
						body_part = head
						textures = {
	                        diffuse = "gfx/models/portraits/decals/female_head/decal_female_head_lips_beauty_diffuse.dds"
							properties = "gfx/models/portraits/decals/female_head/decal_female_head_lips_beauty_properties.dds"
						}
						# alpha_curve = {              #controls decal alpha relative to gene strength. Will give a linear interpolation if left unspecified
						# 	#gene strength%, decal alpha
						# 	{ 0.0  0.3 }
						# 	{ 1.0  1.0 }
						# }
						blend_modes = {              #overlay/replace/hard_light/multiply
							diffuse = replace
							properties = replace
						}
						priority = 9
						decal_apply_order = pre_skin_color # pre_skin_color | post_skin_color
					}
				}
				boy = male
				girl = male
			}

		}
	}
}
